package com.object.module.cbb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户地址
 *
 * @author 小🌤
 * @email 1578442339@qq.com
 * @date 2022-03-30 16:29:15
 */
@Data
@TableName("cbb_address")
public class CbbAddressEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer adId;
    /**
     * 详情地址
     */
    private String adAddress;
    /**
     * 手机号
     */
    private Long adPhone;
    /**
     * 城市
     */
    private String adCity;
    /**
     * 省
     */
    private String adProvince;
    /**
     * 用户id
     */
    private Integer adUrId;

    @TableField(exist = false)
    private CbbUserEntity user;
}
